package com.rybbaby.tss.front.tssRightStatistic.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @description 权责记录考勤列表
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:23:36
 */
@Entity
@Table(name = "view_attendance_responsibility")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewAttendanceResponsibility implements Serializable {


	private static final long serialVersionUID = 3028633716258011541L;
	/** 主键 **/
	private String id;
	/** 权责类型 **/
	private Integer type;
	/** 会员名字 **/
	private String studentName;
	/** 会员昵称 **/
	private String nickName;
	/** 联系电话 **/
	private String contactPhone;
	/** 课程id **/
	private String courseId;
	/** 课程名称 **/
	private String courseName;
	/** 课程父id **/
	private String courseSystemId;
	/** 课程父名称 **/
	private String courseSystemName;
	/** 上课日期 **/
	private java.sql.Timestamp classTime;
	/** 上课时间 **/
	private java.sql.Timestamp startTime;
	/** 授课老师ID **/
	private String empAdminUserId;
	/** 授课老师 **/
	private String realName;
	/** 当前周次 **/
	//private Integer ;
	/** 考勤状态 **/
	private Integer attendenceStatus;
	/** 课程权责 **/
	private Double amount;
	/** 最后操作人Id **//*
	private String adminUserId;*/
	/** 最后操作人 **/
	private String userName;
	/** 创建时间 **/
	private Timestamp updateTime;

	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.String 主键
	 */
	@Id
	@GeneratedValue(generator = "tss_right_statisticIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_right_statisticIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "type", nullable= true, length = 11)
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "studentName", nullable= true, length = 12)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	@Column(name = "nickName", nullable= true, length = 50)
	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	@Column(name = "contactPhone", nullable= true, length = 11)
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	@Column(name = "courseId", nullable= true, length = 32)
	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	@Column(name = "courseName", nullable= true, length = 50)
	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	@Column(name = "courseSystemId", nullable= true, length = 32)
	public String getCourseSystemId() {
		return courseSystemId;
	}

	public void setCourseSystemId(String courseSystemId) {
		this.courseSystemId = courseSystemId;
	}

	@Column(name = "courseSystemName", nullable= true, length = 50)
	public String getCourseSystemName() {
		return courseSystemName;
	}

	public void setCourseSystemName(String courseSystemName) {
		this.courseSystemName = courseSystemName;
	}

	@Column(name = "classTime", nullable= true, length = 32)
	public Timestamp getClassTime() {
		return classTime;
	}

	public void setClassTime(Timestamp classTime) {
		this.classTime = classTime;
	}

	@Column(name = "startTime", nullable= true, length = 32)
	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	@Column(name = "empAdminUserId", nullable= true, length = 32)
	public String getEmpAdminUserId() {
		return empAdminUserId;
	}

	public void setEmpAdminUserId(String empAdminUserId) {
		this.empAdminUserId = empAdminUserId;
	}

	/*@Column(name = "adminUserId", nullable= true, length = 32)
	public String getAdminUserId() {
		return adminUserId;
	}

	public void setAdminUserId(String adminUserId) {
		this.adminUserId = adminUserId;
	}*/

	@Column(name = "realName", nullable= true, length = 12)
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Column(name = "attendenceStatus", nullable= true, length = 11)

	public Integer getAttendenceStatus() {
		return attendenceStatus;
	}

	public void setAttendenceStatus(Integer attendenceStatus) {
		this.attendenceStatus = attendenceStatus;
	}

	@Column(name = "amount", nullable= true, length = 11)
	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	@Column(name = "userName", nullable= true, length = 50)
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "updateTime", nullable= true, length = 32)
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}